import matplotlib.pyplot as plt
import numpy as np

# 画散点图
x = np.linspace(0, 10, 100)  # 生成0到10中100个等差数
# plt.scatter(x, np.sin(x))
plt.plot(x, np.sin(x), marker="o")
# plt.plot(x, np.sin(x), "o")
# plt.plot(x, np.sin(x))
plt.show()
